﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="u_Danhgiacongnhan.ascx.cs" Inherits="cms_Admin_Danhgia_u_Danhgiacongnhan" %>
<div class="titad">CHẤM ĐIỂM ĐÁNH GIÁ CÔNG NHÂN</div>
<div class="add">
    <asp:Label ID="lblThongbao" runat="server" 
        style="font-family: Tahoma; font-size: 8pt; color: #FF0000"></asp:Label>
</div>
<asp:Panel ID="paDanhsach" runat="server">
<table class="Tableadmins" width="100%" border="1">
<tr class="Headadmin" style="height:25px">
    <td style="width:4%" class="contentadmin">No</td>
    <td style="width:10%" class="contentadmin">Mã công nhân</td>
    <td class="contentadmin">Tên công nhân</td>
    <td style="width:10%" class="contentadmin">Điểm đánh giá</td>
    <td style="width:10%" class="contentadmin">Chấm điểm</td>
</tr>
<asp:Repeater ID="rptCongnhan" runat="server" onitemcommand="rptCongnhan_ItemCommand">
<ItemTemplate>
<tr style="height:20px" class="tr_while" onmouseover="this.className='tr_while_over'" onmouseout="this.className='tr_while'">
    <td align="center" class="contentadmin"><asp:Label ID="lblorder" runat="server"></asp:Label></td>
    <td align="left" style="padding-left:5px" class="contentadmin"><%#DataBinder.Eval(Container.DataItem, "uCode")%><asp:Label ID="lblID" runat="server" Visible="false" Text='<%#DataBinder.Eval(Container.DataItem, "uID")%>'></asp:Label></td>
    <td align="left" style="padding-left:5px" class="contentadmin"><%#DataBinder.Eval(Container.DataItem, "uName")%></td>
    <td align="center" class="contentadmin"><%#ViewPointuID(DataBinder.Eval(Container.DataItem, "uID").ToString())%></td>    
    <td style="width:6%" align="center" class="atd"><asp:LinkButton CssClass="chitiet" ID="LinkButton2" Runat="server" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"uID")%>' CommandName="View" ToolTip="Chấm điểm đánh giá">Chấm điểm</asp:LinkButton></td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table>
</asp:Panel>
<asp:Panel ID="paDanhgia" runat="server" Visible="false">
<table class="Tableadmins" width="100%" border="1">
<tr class="Headadmin" style="height:25px">
    <td style="width:4%" class="contentadmin">No</td>
    <td class="contentadmin">Tiêu chí đánh giá</td>
    <td style="width:6%" class="contentadmin">Điểm</td>
</tr>
<asp:Repeater ID="rptDanhsach" runat="server">
<ItemTemplate>
<tr style="height:20px" class="tr_while" onmouseover="this.className='tr_while_over'" onmouseout="this.className='tr_while'">
    <td align="center" class="contentadmin"><asp:Label ID="lblorder" runat="server"></asp:Label></td>
    <td align="left" style="padding-left:5px" class="contentadmin"><%#DataBinder.Eval(Container.DataItem, "criName")%><asp:Label ID="lblID" runat="server" Visible="false" Text='<%#DataBinder.Eval(Container.DataItem, "criId")%>'></asp:Label></td>
    <td align="center" class="contentadmin">
        <asp:DropDownList ID="drlDiem" runat="server">
        </asp:DropDownList>
    </td>    
</tr>
</ItemTemplate>
</asp:Repeater>
</table>
<div style="background: #f0f0f0; height: 20px; padding-top: 8px; padding-bottom: 3px; margin-top: 10px; text-align: left; padding-left: 50px">
                <asp:LinkButton ID="lbtCapnhat" runat="server" CssClass="danhgia" 
                    onclick="lbtCapnhat_Click">Đánh giá</asp:LinkButton>
                    <asp:LinkButton ID="LinkButton1" runat="server" CssClass="back" 
                    onclick="lbtTrolai_Click">Trở lại</asp:LinkButton>
                &nbsp;
                <asp:Label ID="lblLoi" runat="server" 
                    style="font-family: Tahoma; font-size: 8pt; color: #FF0000"></asp:Label>
</div>
</asp:Panel>
<div class="add">
    <asp:Label ID="Label1" runat="server" 
        style="font-family: Arial; font-size: 10pt" Text="Công nhân được đánh giá:" Visible="false"></asp:Label>
&nbsp;<asp:DropDownList ID="drlNhanvien" runat="server" AutoPostBack="True" Visible="false" 
        onselectedindexchanged="drlNhanvien_SelectedIndexChanged" 
        style="font-family: Arial; font-size: 10pt">
    </asp:DropDownList>
</div>